//1.state状态
const state = {
    tabid:0,
}

const mutations = {
    tabId(state , id){
        state.tabid = id;
    }

}

const actions = {}

const getters = {}

//5.导出且注册当前模块
export default {
    //注册模块使当前模块成为待命名的区域  vue.cart.xxx
    namespaced: true,
    state,
    mutations,
    actions,
    getters

}